﻿using Gear.ORM.Core.Tenant;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Gear.Core.Entities.BizBase
{
    public class BizDtoInput
    {
        public BizDtoInput()
        {
            CreatedTime = DateTime.Now;
            UpdatedTime = DateTime.Now;
            IsDeleted = 0;
            TenantId = TenantTool.GetTenantsId();
            Sorts = 0;
        }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreatedTime { get; }
        /// <summary>
        /// 更新时间
        /// </summary>
        public DateTime UpdatedTime { get; }
        /// <summary>
        /// 是否删除
        /// </summary>
        public int IsDeleted { get; }
        /// <summary>
        /// 租户ID
        /// </summary>
        public string TenantId { get; }
        /// <summary>
        /// 排序
        /// </summary>
        public int Sorts { get; set; }
    }
}
